//
//  ImageCellData.h
//  18Birdies
//
//  Created by 冯琦帆 on 15/12/2.
//  Copyright © 2015年 Lc. All rights reserved.
//

#import "LcCellData.h"

@interface ImageCellData : LcCellData

+ (instancetype)cellDataWithImage:(UIImage*)image andImageHeight:(CGFloat)height;
@property(nonatomic, strong, readonly) UIImage* image;
@property(nonatomic, strong) UIImage* placeholderImage;

// default is UIViewContentModeScaleAspectFill
@property(nonatomic, assign) UIViewContentMode imageContentMode;

@property(nonatomic, strong) UIColor* backgroudColor;
@property(nonatomic, assign) BOOL clipsToBounds;

// margin
@property(nonatomic, assign) CGFloat margin;
@end
